package org.opsli.modulars.business.equipment.entity;

import java.util.Date;

/**
 * 调度日志表
 */
public class ScheduleLog {
    private Long id;
    private String deviceId;
    private String cmdContent;//命令内容
    private Integer cmdType;//命令类型0：系统发给设备1：系统接收设备
    private Date cmdTime;//创建时间


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getCmdContent() {
        return cmdContent;
    }

    public void setCmdContent(String cmdContent) {
        this.cmdContent = cmdContent;
    }

    public Integer getCmdType() {
        return cmdType;
    }

    public void setCmdType(Integer cmdType) {
        this.cmdType = cmdType;
    }

    public Date getCmdTime() {
        return cmdTime;
    }

    public void setCmdTime(Date cmdTime) {
        this.cmdTime = cmdTime;
    }


    @Override
    public String toString() {
        return "ScheduleLog{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", cmdContent='" + cmdContent + '\'' +
                ", cmdType=" + cmdType +
                ", cmdTime=" + cmdTime +
                '}';
    }
}
